home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Stickerpedia Stickerbook
/
Stickerbook.iso
/
pc
/
DATA
/
main.dxr
/
00016_Script_ [ internal ] Next Button
< prev
next >
Wrap
Text File
|
2003-03-24
|
604b
|
47 lines
property pDirection
property spriteNum
global gCurInvisibleButton
on beginSprite me
pDirection = 1
end
on msUp me
switchImage pDirection
end
on lastImage mw, direction
if gCurInvisibleButton = "" then sendsprite spriteNum, #show
if direction = pDirection then
gCurInvisibleButton = "Next"
sendsprite spriteNum, #hide
else
sendsprite spriteNum, #show
end if
end
on notLastImage mw, direction
if direction = pDirection then
gCurInvisibleButton = ""
sendsprite spriteNum, #show
end if
end